@import "~assets/styles/_bootstrap";

html, body {
	height: 100%;
	background: #F6F6F9;
}

#user_team {
  width: 100%;
  height: 100%;

  > .team_header {
    display: flex;
    width: rem(200px);
    height: rem(38px);
    font-size: rem(14px);
    text-align: center;
    color: #ec5151;
    line-height: rem(35px);
    margin: rem(9px) auto rem(10px);
    border: 1px solid #ec5151;
    border-radius: 10px;
    overflow: hidden;

    > span {
      flex: 1;
      cursor: pointer;

      &.active {
        color: #fff;
        background-color: #ec5151;
      }
    }
  }

  > .num {
    margin-bottom: rem(15px);
    font-size: rem(15px);
    text-align: center;
  }

  > .team_main {
    width: 100%;
    min-height: 10px;
    background-color: #fff;

    > li {
      display: flex;
      width: 100%;
      height: rem(110px);
      padding: rem(8px) rem(10px);
      border-bottom: 1px solid #eee;

      > span {
        display: inline-block;
        padding: rem(2px) rem(4px);
        font-size: $fontS;

        &:nth-child(1) {
          display: flex;
          flex: 0 0 rem(70px);
          align-items: center;
        }

        &:nth-child(2) {
          flex: 1;

          > p {
            padding: rem(2px) 0;
            width: rem(210px);
            font-size: rem(12px);
            color: #666;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;

            &.nickname {
              font-size: rem(14px);
            }
          }
        }

        &:nth-child(3) {
          color: #a9a9a9;
          font-size: rem(10px);

          > span {
            display: block;
            text-align: center;
            padding: rem(3px) 0;

            &:first-child{
              color: #ec5151;
              border: 1px solid #ec5151;
              border-radius: 5px;
            }

            > a {
              vertical-align: middle;

              > i.icon-chat {
                font-size: rem(25px);
                vertical-align: middle;
                color: #EC5151;
              }
            }

          }
        }

        > img {
          width: 100%;
          height: auto;
          border-radius: 10px;
          vertical-align: middle;
        }
      }
    }
  }

  > .no_team_wrap {
    width: 100%;
    min-height: 20px;
    font-size: $fontM;
    color: #a9a9a9;
    text-align: center;
    margin-top: rem(40px);

    > img {
      width: rem(250px);
      height: auto;
      margin: 0 auto;
    }
  }

  > .bottom_null_logo {
    position: fixed;
    left: 0;
    bottom: rem(15px);
    display: block;
    width: 100%;
    height: rem(30px);
    text-align: center;

    > i {
      display: inline-block;
      width: rem(30px);
      height: rem(30px);
      vertical-align: top;
      background: url(~assets/images/svg/logoGray.svg) no-repeat center;
      background-size: 90% auto;
    }

    > span {
      font-size: $fontM;
      color: #a9a9a9;
      line-height: rem(30px);
    }
  }
}
